package cn.wsn2018.tools.model.Config;

import cn.wsn2018.tools.model.*;
import cn.wsn2018.tools.model.Exception;

/**
 * Created by NZX on 2018/11/22.
 */
public class ProtocolConfig {
    private String id;
    private String username;
    private String designId;
    private String protocolName;
    private String designName;
    private String createTime;
    private String authType;
    private Encrypt encrypt;
    private Exception exception;
    private Virus virus;
    private Resend resend;
    private Integrity integrity;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getDesignId() {
        return designId;
    }

    public void setDesignId(String designId) {
        this.designId = designId;
    }

    public String getProtocolName() {
        return protocolName;
    }

    public void setProtocolName(String protocolName) {
        this.protocolName = protocolName;
    }

    public String getDesignName() {
        return designName;
    }

    public void setDesignName(String designName) {
        this.designName = designName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getAuthType() {
        return authType;
    }

    public void setAuthType(String authType) {
        this.authType = authType;
    }

    public Encrypt getEncrypt() {
        return encrypt;
    }

    public void setEncrypt(Encrypt encrypt) {
        this.encrypt = encrypt;
    }

    public Exception getException() {
        return exception;
    }

    public void setException(Exception exception) {
        this.exception = exception;
    }

    public Virus getVirus() {
        return virus;
    }

    public void setVirus(Virus virus) {
        this.virus = virus;
    }

    public Resend getResend() {
        return resend;
    }

    public void setResend(Resend resend) {
        this.resend = resend;
    }

    public Integrity getIntegrity() {
        return integrity;
    }

    public void setIntegrity(Integrity integrity) {
        this.integrity = integrity;
    }

    @Override
    public String toString() {
        return "ProtocolConfig{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", designId='" + designId + '\'' +
                ", protocolName='" + protocolName + '\'' +
                ", designName='" + designName + '\'' +
                ", createTime='" + createTime + '\'' +
                ", authType='" + authType + '\'' +
                ", encrypt=" + encrypt +
                ", exception=" + exception +
                ", virus=" + virus +
                ", resend=" + resend +
                ", integrity=" + integrity +
                '}';
    }
}
